package com.youhome.service;

import com.github.pagehelper.PageInfo;
import com.youhome.model.News;

import java.util.List;

/**
 * Created by chen365 on 2018/12/10.
 */
public interface NewsService {
    News selectByPrimaryKey(Long id);

    PageInfo<News> selectByBean(Integer pageNumber, Integer pageSize, News record);
}
